package com.sl.au.entity;

import java.util.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/** 机会跟踪
 * @author sinser
 **/
@Entity
@Table(name = "sl_crm_chanceTrance")
public class ChanceTrance extends Root{
	/**
	 * 预计订货量
	 */
	@Column(name = "nOrderAmount")
	private Integer orderAmount;
   public Integer getOrderAmount() {
		return orderAmount;
	}

	public void setOrderAmount(Integer orderAmount) {
		this.orderAmount = orderAmount;
	}

/**跟踪情况 */
	@Column(name = "sTranceInfo")
   private String tranceInfo;
	/**跟踪结果 */
	@Column(name = "sTranceResult")
   private String tranceResult;
	
	/**
	 * SaleChance_id
	 *  相关机会Id
	 **/
	@ManyToOne
	@JoinColumn(unique = false)
	private Chance saleChance;
	
	/**
	 * User_id
	 * 跟踪人员 
	 **/
	@ManyToOne
	@JoinColumn(unique = false)
	private User user;

	public String getTranceInfo() {
		return tranceInfo;
	}

	public void setTranceInfo(String tranceInfo) {
		this.tranceInfo = tranceInfo;
	}

	public String getTranceResult() {
		return tranceResult;
	}

	public void setTranceResult(String tranceResult) {
		this.tranceResult = tranceResult;
	}

	public Chance getSaleChance() {
		return saleChance;
	}

	public void setSaleChance(Chance saleChance) {
		this.saleChance = saleChance;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}


}